package com.nursebetty.server.service.impl;

import java.util.List;

import com.nursebetty.server.common.UserProfile;
import com.nursebetty.server.dao.GlucossDao;
import com.nursebetty.server.model.Glucoss;
import com.nursebetty.server.service.GlucossService;


public class GlucossServiceImpl implements GlucossService {

	private GlucossDao glucossDao;
	
	@Override
	public GlucossDao getGlucossDao() {
		return glucossDao;
	}

	@Override
	public void setGlucossDao(GlucossDao glucossDao) {
		this.glucossDao = glucossDao;
	}

	public List<Glucoss> getResults(UserProfile glucoss) {
		return glucossDao.getResults(glucoss);
	}

	public String saveResults(Glucoss glucoss, UserProfile user, String Result) {

		return glucossDao.saveResults(glucoss, user, Result);
	}

	public void saveGlucoss(UserProfile user, Glucoss glucoss) {
		glucossDao.saveGlucoss(user, glucoss);

	}

}
